@mixin list-box-style {
  .list-box {
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;

    .list-title {
      flex-shrink: 0;
      border-left: 3px solid #165dff;
      padding-left: 10px;
      margin-bottom: 20px;
    }

    .list-content {
      flex: 1;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: start;
      align-content: start;
      overflow: auto;

      ::v-deep .el-scrollbar {
        height: 100%;
        width: 100%;

        .el-scrollbar__view {
          height: 100%;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          align-items: start;
          align-content: start;
        }
      }
    }

    .list-item {
      width: 100%;
      margin-top: 20px;
      display: flex;
      cursor: pointer;

      &:first-child {
        margin-top: 0px;
      }

      .item-cover {
        width: 25%;
        margin-right: 15px;
        position: relative;

        .cover-img {
          width: 100%;
        }

        .svg-icon {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 32px;
          color: #eee;
        }

        .cover-tip {
          position: absolute;
          padding: 2px 0;
          width: 100%;
          bottom: 0;
          font-size: 14px;
          color: #fff;
          text-align: center;
          background-color: #165dff;
          opacity: 0.9;
        }
      }

      .item-label {
        font-size: 14px;
      }

      .item-label-box {
        flex: 1;
        padding: 5px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .item-label {
          font-size: 15px;
        }

        .item-tip {
          font-size: 14px;
          color: #8b8b8b;
          display: -webkit-box; /* 设置为WebKit内核的弹性盒子模型 */
          -webkit-box-orient: vertical; /* 垂直排列 */
          -webkit-line-clamp: 2; /* 限制显示两行 */
          overflow: hidden; /* 隐藏超出范围的内容 */
          text-overflow: ellipsis; /* 使用省略号 */
        }
      }
    }

    .empty {
      width: 100%;
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    &.column2 {
      .list-item {
        width: 45%;
        display: block;
        &:nth-child(-n + 2) {
          margin-top: 0px;
        }

        .item-cover {
          width: 100%;
          margin-right: 0px;
        }
      }
    }
  }
}
